//
//  CKBBean.h
//  JJICar
//
//  Created by 朱维坚 on 16/3/17.
//  Copyright © 2016年 mac. All rights reserved.
//

//#import <EFWKLib/EFWKLib.h>

@interface CKBWebAPIResult : NSObject
@property (nonatomic, copy)  NSString *      Message;
@property (nonatomic, copy)  NSString *      ExceptionMessage;
@property (nonatomic, HM_STRONG)  NSNumber *     Success;
@property (nonatomic, HM_STRONG)  NSNumber *     SessionState;
@property (nonatomic, HM_STRONG)  NSObject * Result;

@property (nonatomic, assign) Class         resultClass;
@property (nonatomic, HM_STRONG) id         resultObject;
@property (nonatomic, assign, readonly)  NSInteger     successI;
@property (nonatomic, assign, readonly)  NSInteger     error_codeI;

@end

@interface CKBBean : Bean
/**
 *  bean对象声明
 *
 *  @return 命令字与数据对象映射表
 */
+ (NSDictionary*)classNames;

/**
 *  开启网络数据结构代码打印
 *  运行程序后将在log栏打印出相关数据接口的model数据结构、presenter请求代码、请按需拷贝，并进行适当修改
 */
+ (void)logModel;
@end

#pragma mark - TermianlInfo
@interface TermianlInfo : NSObject
@property (nonatomic,copy)  NSString *		TermianlNumber;
@property (nonatomic,copy)  NSString *		TerminalTypeDescription;
@property (nonatomic,copy)  NSString *		CreateTime;
@property (nonatomic,HM_STRONG)  NSString *		UserToken;
@property (nonatomic,copy)  NSString *		SIM;
@property (nonatomic,copy)  NSString *		ContactTel;
@property (nonatomic,copy)  NSString *		Name;
@property (nonatomic,HM_STRONG)  NSString *		VehicleNumber;
@property (nonatomic,HM_STRONG)  NSNumber *		isOneRegister;
@property (nonatomic,HM_STRONG)  NSNumber *		IsDeafault;
@property (nonatomic,copy)  NSString *		LoginName;
@property (nonatomic,copy)  NSString *		Token;
@property (nonatomic,copy)  NSString *		UpdateTime;
@property (nonatomic,copy)  NSString *		CardNo;
@property (nonatomic,HM_STRONG)  NSString *		Phone;
@property (nonatomic,copy)  NSString *		Remark;
@property (nonatomic,HM_STRONG)  NSNumber *		ID;
@property (nonatomic,copy)  NSString *		TerminaType;
@property (nonatomic,HM_STRONG)  NSNumber *		UserId;
@property (nonatomic,HM_STRONG)  NSString *		HeadPhotoUrl;
@property (nonatomic,copy)  NSString *		WxPublicNo;
@property (nonatomic,HM_STRONG)  NSString *		OpenId;

@end

#pragma mark - LastGpsItem
@interface LastGpsItem : NSObject
@property (nonatomic,strong)  NSNumber* 		Lat;
@property (nonatomic,strong)  NSNumber* 		Lon;
@property (nonatomic,copy)  NSString *		City;
@property (nonatomic,strong)  NSNumber*		    Rotation;
@property (nonatomic,copy)  NSString *		ReceivedTime;
@property (nonatomic,copy)  NSString *		LocateTime;
@property (nonatomic,copy)  NSString *		Direction;
@property (nonatomic,strong)  NSNumber*		    Speed;
@property (nonatomic,strong)  NSNumber*		    ACCOn;
@property (nonatomic,strong)  NSNumber*		Mileage;
@property (nonatomic,copy)  NSString *		TerminalNo;
@property (nonatomic,copy)  NSString *		LocationInfo;
@property (nonatomic,copy)  NSString *		Status;
@property (nonatomic,copy)  NSString *		LocationModel;
@end

#pragma mark - GpsItemList
@interface GpsItemList : NSObject
@property (nonatomic,strong)  NSNumber* 		Lat;
@property (nonatomic,strong)  NSNumber* 		Lon;
@property (nonatomic,copy)  NSString *		City;
@property (nonatomic,strong)  NSNumber*		    Rotation;
@property (nonatomic,copy)  NSString *		ReceivedTime;
@property (nonatomic,copy)  NSString *		LocateTime;
@property (nonatomic,copy)  NSString *		Direction;
@property (nonatomic,strong)  NSNumber*		    Speed;
@property (nonatomic,strong)  NSNumber*		    ACCOn;
@property (nonatomic,copy)  NSString *		TerminalNo;
@property (nonatomic,copy)  NSString *		LocationInfo;
@property (nonatomic,strong)  NSNumber*		    Mileage;
@end


#pragma mark - LonlatItems
@interface LonlatItems : NSObject
@property (nonatomic,HM_STRONG)  NSNumber *		Lat;
@property (nonatomic,HM_STRONG)  NSNumber *		Lon;

@end
#pragma mark - TimeRangeItems
@interface TimeRangeItems : NSObject
@property (nonatomic,copy)  NSString *		Begin;
@property (nonatomic,copy)  NSString *		End;

@end

#pragma mark - RecordItems
@interface RecordItems : NSObject
@property (nonatomic,HM_STRONG)  NSNumber *		Radius;
@property (nonatomic,HM_STRONG)  NSNumber *		AreaType;
@property (nonatomic,HM_STRONG)  NSNumber *		AreaId;
@property (nonatomic,HM_STRONG)  NSNumber *		OffsetLon;
@property (nonatomic,HM_STRONG)  NSNumber *		AlarmType;
@property (nonatomic,HM_STRONG)  NSNumber *		OffsetLat;
@property (nonatomic,copy)  NSString *		AreaName;
@property (nonatomic,copy)  NSString *		CityCode;
@property (nonatomic,HM_STRONG)  NSArray *		LonlatItems;
@property (nonatomic,HM_STRONG)  NSArray *		TimeRangeItems;

@end
/*
 查询设防区域设置
 */
#pragma mark - QueryAreaSetting
@interface QueryAreaSetting : NSObject
@property (nonatomic,strong) NSNumber*      Success;
@property (nonatomic,copy) NSString*        Error;
@property (nonatomic,copy) NSString*        Time;
@property (nonatomic,strong)NSArray*        RecordItems;
@end


#pragma mark - DelAreaSetting
@interface DelAreaSetting : NSObject
@property (nonatomic,copy)  NSString *		AreaType;
@property (nonatomic,HM_STRONG)  NSNumber *		OffsetLat;
@property (nonatomic,copy)  NSString *		AlarmType;
@property (nonatomic,copy)  NSString *		CityCode;
@property (nonatomic,HM_STRONG)  NSNumber *		OffsetLon;
@property (nonatomic,copy)  NSString *		CommandType;
@property (nonatomic,copy)  NSString *		AreaName;
@property (nonatomic,HM_STRONG)  NSNumber *		Success;
@property (nonatomic,copy)  NSString *		Time;
@property (nonatomic,copy)  NSString *		TerminalKey;
@property (nonatomic,copy)  NSString *		Errors;
@property (nonatomic,HM_STRONG)  NSNumber *		AreaId;
@end


#pragma mark - AreaSetting
@interface AreaSetting : NSObject
@property (nonatomic,copy)  NSString *		AreaType;
@property (nonatomic,HM_STRONG)  NSNumber *		OffsetLat;
@property (nonatomic,copy)  NSString *		AlarmType;
@property (nonatomic,copy)  NSString *		CityCode;
@property (nonatomic,HM_STRONG)  NSNumber *		OffsetLon;
@property (nonatomic,copy)  NSString *		CommandType;
@property (nonatomic,copy)  NSString *		AreaName;
@property (nonatomic,HM_STRONG)  NSNumber *		Success;
@property (nonatomic,copy)  NSString *		Time;
@property (nonatomic,copy)  NSString *		TerminalKey;
@property (nonatomic,copy)  NSString *		Errors;
@property (nonatomic,HM_STRONG)  NSNumber *		AreaId;
@end


#pragma mark - DeviceBinding
@interface DeviceBinding : NSObject
@property (nonatomic,copy)  NSString *		TermianlNumber;
@property (nonatomic,copy)  NSString *		TerminalTypeDescription;
@property (nonatomic,copy)  NSString *		CreateTime;
@property (nonatomic,copy)  NSString *		UserToken;
@property (nonatomic,copy)  NSString *		SIM;
@property (nonatomic,copy)  NSString *		ContactTel;
@property (nonatomic,copy)  NSString *		Name;
@property (nonatomic,copy)  NSString *		VehicleNumber;
@property (nonatomic,HM_STRONG)  NSNumber *		isOneRegister;
@property (nonatomic,HM_STRONG)  NSNumber *		IsDeafault;
@property (nonatomic,copy)  NSString *		UpdateTime;
@property (nonatomic,copy)  NSString *		LoginName;
@property (nonatomic,copy)  NSString *		Token;
@property (nonatomic,copy)  NSString *		CardNo;
@property (nonatomic,copy)  NSString *		Phone;
@property (nonatomic,copy)  NSString *		Remark;
@property (nonatomic,HM_STRONG)  NSNumber *		ID;
@property (nonatomic,copy)  NSString *		TerminaType;
@property (nonatomic,HM_STRONG)  NSNumber *		UserId;
@property (nonatomic,copy)  NSString *		HeadPhotoUrl;
@property (nonatomic,copy)  NSString *		WxPublicNo;
@property (nonatomic,copy)  NSString *		OpenId;
@end


#pragma mark - GetPublicParam
@interface GetPublicParam : NSObject
@property (nonatomic,copy)  NSString *		FuncName;
@property (nonatomic,HM_STRONG)  NSNumber *		CreaterId;
@property (nonatomic,copy)  NSString *		FuncValue;
@property (nonatomic,HM_STRONG)  NSNumber *		OperateId;
@property (nonatomic,HM_STRONG)  NSNumber *		Id;
@end


#pragma mark - SendCommand
@interface SendCommand : NSObject
@property (nonatomic,copy)  NSString *		CmdSendTime;
@property (nonatomic,HM_STRONG)  NSNumber *		CommandState;
@property (nonatomic,HM_STRONG)  NSNumber *		commandType;
@property (nonatomic,copy)  NSString *		Result;
@property (nonatomic,copy)  NSString *		TerminalId;
@end

#pragma mark - SearchMediaFileLastTimeItem
@interface SearchMediaFileLastTimeItem : NSObject
@property (nonatomic,HM_STRONG)  NSNumber *		Length;
@property (nonatomic,copy)  NSString *		FileTime;
@property (nonatomic,copy)  NSString *		ReceiveTime;
@end

#pragma mark - Item
@interface Item : NSObject
@property (nonatomic,copy)  NSString *		TextLocation;
@property (nonatomic,HM_STRONG)  NSNumber *		Lon;
@property (nonatomic,HM_STRONG)  NSNumber *		Lat;
@property (nonatomic,copy)  NSString *		FileType;
@property (nonatomic,HM_STRONG)  NSNumber *		CityCode;
@property (nonatomic,copy)  NSString *		StatusType;
@property (nonatomic,copy)  NSString *		RoadType;
@property (nonatomic,copy)  NSString *		City;
@end

#pragma mark - SearchMediaFilesByTimes
@interface SearchMediaFilesByTimes : NSObject
@property (nonatomic,HM_STRONG)  NSNumber *		Length;
@property (nonatomic,copy)  NSString *		FileUrl;
@property (nonatomic,copy)  NSString *		ReceiveTime;
@property (nonatomic,copy)  NSString *		FileTime;
@property (nonatomic,copy)  NSString *		TerminalKey;
@property (nonatomic,HM_STRONG)  Item *		Item;
@property (nonatomic,copy)  NSString *		ShareShortUrl;
@end


#pragma mark - SearchMediaFiles
@interface SearchMediaFiles : NSObject
@property (nonatomic,HM_STRONG)  NSNumber *		Length;
@property (nonatomic,copy)  NSString *		FileUrl;
@property (nonatomic,copy)  NSString *		ReceiveTime;
@property (nonatomic,copy)  NSString *		FileTime;
@property (nonatomic,copy)  NSString *		TerminalKey;
@property (nonatomic,HM_STRONG)  Item *		Item;
@property (nonatomic,copy)  NSString *		ShareShortUrl;
@end

#pragma mark - TariffPackagesInfo
@interface TariffPackagesInfo : NSObject
@property (nonatomic,HM_STRONG)  NSNumber *		GuidePrice;
@property (nonatomic,HM_STRONG)  NSNumber *		Id;
@property (nonatomic,HM_STRONG)  NSNumber *		DefaultPrice;
@property (nonatomic,HM_STRONG)  NSNumber *		Flow;
@property (nonatomic,copy)  NSString *		TariffName;
@property (nonatomic,HM_STRONG)  NSNumber *		FlowCycle;
@property (nonatomic,HM_STRONG)  NSNumber *		ServiceCycle;

@end
#pragma mark - GetCardInfo
@interface GetCardInfo : NSObject
@property (nonatomic,HM_STRONG)  NSNumber *		Agency4ID;
@property (nonatomic,copy)  NSString *		Code;
@property (nonatomic,copy)  NSString *		OpenCardDate;
@property (nonatomic,HM_STRONG)  NSNumber *		Agency1ID;
@property (nonatomic,copy)  NSString *		CardCustomer;
@property (nonatomic,HM_STRONG)  NSNumber *		CompanyId;
@property (nonatomic,HM_STRONG)  NSNumber *		Agency2ID;
@property (nonatomic,HM_STRONG)  NSNumber *		Agency3ID;
@property (nonatomic,HM_STRONG)  NSString *		CreateTime;
@property (nonatomic,HM_STRONG)  NSNumber *		Agency5ID;
@property (nonatomic,copy)  NSString *		SIM;
@property (nonatomic,HM_STRONG)  NSString *		ShortMsgPackages;
@property (nonatomic,HM_STRONG)  NSNumber *		UseMsgCount;
@property (nonatomic,HM_STRONG)  NSNumber *		FlowCycle;
@property (nonatomic,copy)  NSString *		IMSI;
@property (nonatomic,HM_STRONG)  NSNumber *		MonthFlow;
@property (nonatomic,HM_STRONG)  NSNumber *		BrandID;
@property (nonatomic,HM_STRONG)  TariffPackagesInfo *		TariffPackagesInfo;
@property (nonatomic,HM_STRONG)  NSString *		LoginName;
@property (nonatomic,HM_STRONG)  NSString *		TName;
@property (nonatomic,HM_STRONG)  NSString *		Error;
@property (nonatomic,copy)  NSString *		ServiceStartDate;
@property (nonatomic,copy)  NSString *		ServiceEndDate;
@property (nonatomic,copy)  NSString *		CardSource;
@property (nonatomic,HM_STRONG)  NSNumber *		ActivePeriod;
@property (nonatomic,HM_STRONG)  NSNumber *		Flow;
@property (nonatomic,copy)  NSString *		CardState;
@property (nonatomic,HM_STRONG)  NSString *		PublicNo;
@property (nonatomic,copy)  NSString *		ICCID;

@end
